<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
        <head>
          <title>EventBusBridgeHook - lang-scala.git 1.0.0 API - org.vertx.scala.core.sockjs.EventBusBridgeHook</title>
          <meta name="description" content="EventBusBridgeHook - lang - scala.git 1.0.0 API - org.vertx.scala.core.sockjs.EventBusBridgeHook" />
          <meta name="keywords" content="EventBusBridgeHook lang scala.git 1.0.0 API org.vertx.scala.core.sockjs.EventBusBridgeHook" />
          <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
          
      <link href="../../../../../lib/template.css" media="screen" type="text/css" rel="stylesheet" />
      <link href="../../../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css" />
      <script type="text/javascript">
         if(top === self) {
            var url = '../../../../../index.html';
            var hash = 'org.vertx.scala.core.sockjs.EventBusBridgeHook';
            var anchor = window.location.hash;
            var anchor_opt = '';
            if (anchor.length >= 1)
              anchor_opt = '@' + anchor.substring(1);
            window.location.href = url + '#' + hash + anchor_opt;
         }
   	  </script>
    
        </head>
        <body class="type">
      <div id="definition">
        <a href="EventBusBridgeHook$.html" title="Go to companion"><img src="../../../../../lib/class_to_object_big.png" /></a>
        <p id="owner"><a href="../../../../package.html" class="extype" name="org">org</a>.<a href="../../../package.html" class="extype" name="org.vertx">vertx</a>.<a href="../../package.html" class="extype" name="org.vertx.scala">scala</a>.<a href="../package.html" class="extype" name="org.vertx.scala.core">core</a>.<a href="package.html" class="extype" name="org.vertx.scala.core.sockjs">sockjs</a></p>
        <h1><a href="EventBusBridgeHook$.html" title="Go to companion">EventBusBridgeHook</a></h1>
      </div>

      <h4 id="signature" class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">class</span>
      </span>
      <span class="symbol">
        <span class="name">EventBusBridgeHook</span><span class="result"> extends <span class="extype" name="scala.AnyVal">AnyVal</span></span>
      </span>
      </h4>
      
          <div id="comment" class="fullcommenttop"><div class="comment cmt"><p>A hook that you can use to receive various events on the EventBusBridge.
</p></div><div class="toggleContainer block">
          <span class="toggle">Linear Supertypes</span>
          <div class="superTypes hiddenContent"><span class="extype" name="scala.AnyVal">AnyVal</span>, <span class="extype" name="scala.NotNull">NotNull</span>, <span class="extype" name="scala.Any">Any</span></div>
        </div></div>
        

      <div id="mbrsel">
        <div id="textfilter"><span class="pre"></span><span class="input"><input id="mbrsel-input" type="text" accesskey="/" /></span><span class="post"></span></div>
        <div id="order">
              <span class="filtertype">Ordering</span>
              <ol>
                
                <li class="alpha in"><span>Alphabetic</span></li>
                <li class="inherit out"><span>By inheritance</span></li>
              </ol>
            </div>
        <div id="ancestors">
                <span class="filtertype">Inherited<br />
                </span>
                <ol id="linearization">
                  <li class="in" name="org.vertx.scala.core.sockjs.EventBusBridgeHook"><span>EventBusBridgeHook</span></li><li class="in" name="scala.AnyVal"><span>AnyVal</span></li><li class="in" name="scala.NotNull"><span>NotNull</span></li><li class="in" name="scala.Any"><span>Any</span></li>
                </ol>
              </div><div id="ancestors">
            <span class="filtertype"></span>
            <ol>
              <li class="hideall out"><span>Hide All</span></li>
              <li class="showall in"><span>Show all</span></li>
            </ol>
            <a href="http://docs.scala-lang.org/overviews/scaladoc/usage.html#members" target="_blank">Learn more about member selection</a>
          </div>
        <div id="visbl">
            <span class="filtertype">Visibility</span>
            <ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol>
          </div>
      </div>

      <div id="template">
        <div id="allMembers">
        

        

        

        <div id="values" class="values members">
              <h3>Value Members</h3>
              <ol><li name="scala.Any#!=" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="!=(x$1:Any):Boolean"></a>
      <a id="!=(Any):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span title="gt4s: $bang$eq" class="name">!=</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li name="scala.Any###" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="##():Int"></a>
      <a id="##():Int"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span title="gt4s: $hash$hash" class="name">##</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li name="scala.Any#==" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="==(x$1:Any):Boolean"></a>
      <a id="==(Any):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span title="gt4s: $eq$eq" class="name">==</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li name="scala.Any#asInstanceOf" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="asInstanceOf[T0]:T0"></a>
      <a id="asInstanceOf[T0]:T0"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">asInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Any.asInstanceOf.T0">T0</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li name="org.vertx.scala.core.sockjs.EventBusBridgeHook#asJava" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
      <a id="asJava:org.vertx.java.core.sockjs.EventBusBridgeHook"></a>
      <a id="asJava:java.core.sockjs.EventBusBridgeHook"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">val</span>
      </span>
      <span class="symbol">
        <span class="name">asJava</span><span class="result">: <span class="extype" name="org.vertx.java.core.sockjs.EventBusBridgeHook">java.core.sockjs.EventBusBridgeHook</span></span>
      </span>
      </h4>
      
    </li><li name="scala.AnyVal#getClass" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="getClass():Class[_&lt;:AnyVal]"></a>
      <a id="getClass():Class[_&lt;:AnyVal]"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">getClass</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Predef.Class">Class</span>[_ &lt;: <span class="extype" name="scala.AnyVal">AnyVal</span>]</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyVal → Any</dd></dl></div>
    </li><li name="org.vertx.scala.core.sockjs.EventBusBridgeHook#handleAuthorise" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="handleAuthorise(message:org.vertx.scala.core.json.JsonObject,sessionID:String,handler:org.vertx.scala.core.AsyncResult[Boolean]=&gt;Unit):Boolean"></a>
      <a id="handleAuthorise(JsonObject,String,(AsyncResult[Boolean])⇒Unit):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">handleAuthorise</span><span class="params">(<span name="message">message: <a href="../json/package.html#JsonObject=org.vertx.java.core.json.JsonObject" class="extmbr" name="org.vertx.scala.core.json.JsonObject">JsonObject</a></span>, <span name="sessionID">sessionID: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<span class="extype" name="scala.Boolean">Boolean</span>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Called before authorisation - you can override authorisation here if you don't want the default</p><div class="fullcomment"><div class="comment cmt"><p>Called before authorisation - you can override authorisation here if you don't want the default</p></div><dl class="paramcmts block"><dt class="param">message</dt><dd class="cmt"><p>The auth message</p></dd><dt class="param">sessionID</dt><dd class="cmt"><p>The session ID</p></dd><dt class="param">handler</dt><dd class="cmt"><p>Handler - call this when authorisation is complete</p></dd><dt>returns</dt><dd class="cmt"><p>true if you wish to override authorisation
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.sockjs.EventBusBridgeHook#handlePostRegister" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="handlePostRegister(sock:org.vertx.scala.core.sockjs.SockJSSocket,address:String):Unit"></a>
      <a id="handlePostRegister(SockJSSocket,String):Unit"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">handlePostRegister</span><span class="params">(<span name="sock">sock: <a href="SockJSSocket.html" class="extype" name="org.vertx.scala.core.sockjs.SockJSSocket">SockJSSocket</a></span>, <span name="address">address: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Called after client registers a handler</p><div class="fullcomment"><div class="comment cmt"><p>Called after client registers a handler</p></div><dl class="paramcmts block"><dt class="param">sock</dt><dd class="cmt"><p>The socket</p></dd><dt class="param">address</dt><dd class="cmt"><p>The address
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.sockjs.EventBusBridgeHook#handlePreRegister" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="handlePreRegister(sock:org.vertx.scala.core.sockjs.SockJSSocket,address:String):Boolean"></a>
      <a id="handlePreRegister(SockJSSocket,String):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">handlePreRegister</span><span class="params">(<span name="sock">sock: <a href="SockJSSocket.html" class="extype" name="org.vertx.scala.core.sockjs.SockJSSocket">SockJSSocket</a></span>, <span name="address">address: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Called before client registers a handler</p><div class="fullcomment"><div class="comment cmt"><p>Called before client registers a handler</p></div><dl class="paramcmts block"><dt class="param">sock</dt><dd class="cmt"><p>The socket</p></dd><dt class="param">address</dt><dd class="cmt"><p>The address</p></dd><dt>returns</dt><dd class="cmt"><p>true to let the registration occur, false otherwise
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.sockjs.EventBusBridgeHook#handleSendOrPub" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="handleSendOrPub(sock:org.vertx.scala.core.sockjs.SockJSSocket,send:Boolean,msg:org.vertx.scala.core.json.JsonObject,address:String):Boolean"></a>
      <a id="handleSendOrPub(SockJSSocket,Boolean,JsonObject,String):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">handleSendOrPub</span><span class="params">(<span name="sock">sock: <a href="SockJSSocket.html" class="extype" name="org.vertx.scala.core.sockjs.SockJSSocket">SockJSSocket</a></span>, <span name="send">send: <span class="extype" name="scala.Boolean">Boolean</span></span>, <span name="msg">msg: <a href="../json/package.html#JsonObject=org.vertx.java.core.json.JsonObject" class="extmbr" name="org.vertx.scala.core.json.JsonObject">JsonObject</a></span>, <span name="address">address: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Client is sending or publishing on the socket</p><div class="fullcomment"><div class="comment cmt"><p>Client is sending or publishing on the socket</p></div><dl class="paramcmts block"><dt class="param">sock</dt><dd class="cmt"><p>The sock</p></dd><dt class="param">send</dt><dd class="cmt"><p>if true it's a send else it's a publish</p></dd><dt class="param">msg</dt><dd class="cmt"><p>The message</p></dd><dt class="param">address</dt><dd class="cmt"><p>The address the message is being sent/published to</p></dd><dt>returns</dt><dd class="cmt"><p>true To allow the send/publish to occur, false otherwise
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.sockjs.EventBusBridgeHook#handleSocketClosed" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="handleSocketClosed(sock:org.vertx.scala.core.sockjs.SockJSSocket):Unit"></a>
      <a id="handleSocketClosed(SockJSSocket):Unit"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">handleSocketClosed</span><span class="params">(<span name="sock">sock: <a href="SockJSSocket.html" class="extype" name="org.vertx.scala.core.sockjs.SockJSSocket">SockJSSocket</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">The socket has been closed</p><div class="fullcomment"><div class="comment cmt"><p>The socket has been closed</p></div><dl class="paramcmts block"><dt class="param">sock</dt><dd class="cmt"><p>The socket
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.sockjs.EventBusBridgeHook#handleSocketCreated" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="handleSocketCreated(sock:org.vertx.scala.core.sockjs.SockJSSocket):Boolean"></a>
      <a id="handleSocketCreated(SockJSSocket):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">handleSocketCreated</span><span class="params">(<span name="sock">sock: <a href="SockJSSocket.html" class="extype" name="org.vertx.scala.core.sockjs.SockJSSocket">SockJSSocket</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Called when a new socket is created
You can override this method to do things like check the origin header of a socket before
accepting it</p><div class="fullcomment"><div class="comment cmt"><p>Called when a new socket is created
You can override this method to do things like check the origin header of a socket before
accepting it</p></div><dl class="paramcmts block"><dt class="param">sock</dt><dd class="cmt"><p>The socket</p></dd><dt>returns</dt><dd class="cmt"><p>true to accept the socket, false to reject it
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.sockjs.EventBusBridgeHook#handleUnregister" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="handleUnregister(sock:org.vertx.scala.core.sockjs.SockJSSocket,address:String):Boolean"></a>
      <a id="handleUnregister(SockJSSocket,String):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">handleUnregister</span><span class="params">(<span name="sock">sock: <a href="SockJSSocket.html" class="extype" name="org.vertx.scala.core.sockjs.SockJSSocket">SockJSSocket</a></span>, <span name="address">address: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Client is unregistering a handler</p><div class="fullcomment"><div class="comment cmt"><p>Client is unregistering a handler</p></div><dl class="paramcmts block"><dt class="param">sock</dt><dd class="cmt"><p>The socket</p></dd><dt class="param">address</dt><dd class="cmt"><p>The address
</p></dd></dl></div>
    </li><li name="scala.Any#isInstanceOf" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="isInstanceOf[T0]:Boolean"></a>
      <a id="isInstanceOf[T0]:Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">isInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li name="scala.Any#toString" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="toString():String"></a>
      <a id="toString():String"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li></ol>
            </div>

        

        
        </div>

        <div id="inheritedMembers">
        <div class="parent" name="scala.AnyVal">
              <h3>Inherited from <span class="extype" name="scala.AnyVal">AnyVal</span></h3>
            </div><div class="parent" name="scala.NotNull">
              <h3>Inherited from <span class="extype" name="scala.NotNull">NotNull</span></h3>
            </div><div class="parent" name="scala.Any">
              <h3>Inherited from <span class="extype" name="scala.Any">Any</span></h3>
            </div>
        
        </div>

        <div id="groupedMembers">
        <div class="group" name="Ungrouped">
              <h3>Ungrouped</h3>
              
            </div>
        </div>

      </div>

      <div id="tooltip"></div>

      <div id="footer">  </div>
      <script defer="defer" type="text/javascript" id="jquery-js" src="../../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" id="jquery-ui-js" src="../../../../../lib/jquery-ui.js"></script><script defer="defer" type="text/javascript" id="tools-tooltip-js" src="../../../../../lib/tools.tooltip.js"></script><script defer="defer" type="text/javascript" id="template-js" src="../../../../../lib/template.js"></script>
    </body>
      </html>